﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonDto
{
    public class DefaultRequestDto<TParam> : BaseRequestDto<TParam>
    {
        public static implicit operator TParam(DefaultRequestDto<TParam> dto) => dto.Param;
        //public static explicit operator DefaultRequestDto<TParam>(TParam param) => new DefaultRequestDto<TParam> { Param = param };

        //public override string ToString()
        //{
        //    return $"{AppKey}{Environment.NewLine}{Method}{Environment.NewLine}{Version}";
        //}
    }
}
